#ifndef  WS2812_H
#define WS2812_H
#include "stdint.h"

#define RGB_WHITE   	0x0F0F0F
#define RGB_RED		    0x0F0000
#define RGB_GREEN       0x000F00
#define RGB_BLUE        0x00000F
#define RGB_YELLOW      0xFFD700
#define RGB_PURPLE      0x6051D2
#define	RGB_ORANGE      0xEB8530
#define RGB_DEEPBULE    0x3A577E

void ws2812_set_RGB(uint32_t RGB, uint16_t num);
void ws2812_init(uint8_t led_nums);
extern void ws2812_updata(uint8_t num);

#endif

